package cn.b.sky.mes.hr.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.b.sky.mes.hr.dao.PersonnelPerformanceDao;
import cn.b.sky.mes.hr.model.Performance;
import cn.b.sky.mes.hr.model.condition.PerformanceCondition;
import cn.b.sky.mes.hr.service.PersonnelPerformanceService;

@Service
public class PersonnelPerformanceServiceImpl implements PersonnelPerformanceService {
  @Resource
  private PersonnelPerformanceDao personnelPerformanceDao;

  @Override
  public List<Performance> statiscsPerformanceByCondition(PerformanceCondition condition) {
    return personnelPerformanceDao.statiscsPerformanceByCondition(condition);
  }

}
